home *** CD-ROM | disk | FTP | other *** search
- on keyDown
- if the key = RETURN then
- set the text of field "password" to EMPTY
- set the editable of member "name" to 0
- set the editable of member "password" to 1
- repeat with iChar = 1 to the number of chars in field "name"
- if char iChar of field "name" = RETURN then
- put EMPTY into char iChar of field "name"
- end if
- end repeat
- else
- pass()
- end if
- end
-
- on mouseDown
- set the editable of member "password" to 0
- set the editable of member "name" to 1
- end
-